The prediction of faulty classes using object-oriented design metrics

نویسندگان

  • Khaled El Emam
  • Walcélio L. Melo
  • Javam C. Machado
چکیده

Contemporary evidence suggests that most field faults in software applications are found in a small percentage of the software’s components. This means that if these faulty software components can be detected early in the development project’s life cycle, mitigating actions can be taken, such as a redesign. For object-oriented applications, prediction models using design metrics can be used to identify faulty classes early on. In this paper we report on a study that used object-oriented design metrics to construct such prediction models. The study used data collected from one version of a commercial Java application for constructing a prediction model. The model was then validated on a subsequent release of the same application. Our results indicate that the prediction model has a high accuracy. Furthermore, we found that an export coupling metric had the strongest association with faultproneness, indicating a structural feature that may be symptomatic of a class with a high probability of latent faults.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Investigating effect of Design Metrics on Fault Proneness in Object-Oriented Systems

Demand for quality software has undergone with rapid growth during the last few years. This is leading to an increase in the development of metrics for measuring the properties of software such as coupling, cohesion or inheritance that can be used in early quality assessments. Quality models that explore the relationship between these properties and quality attributes such as fault proneness, m...

متن کامل

Predicting Faulty Classes Using Design Metrics with Discriminant Analysis

Nowadays risk assessment is one of software engineering processes that plays important role in software development life cycle. Applying risk assessment to software the earlier is the better. Developers should detect defects of software early at design phase so the improvement action such as refactoring can be taken. Constructing fault prediction model using design metrics is one approach that ...

متن کامل

Comparative Analysis of Random Forests with Statistical and Machine Learning Methods in Predicting Fault-Prone Classes

There are available metrics for predicting fault prone classes, which may help software organizations for planning and performing testing activities. This may be possible due to proper allocation of resources on fault prone parts of the design and code of the software. Hence, importance and usefulness of such metrics is understandable, but empirical validation of these metrics is always a great...

متن کامل

Towards Cohesion-based Metrics as Early Quality Indicators of Faulty Classes and Components

Measuring structural design properties of an object-oriented system is a promising approach towards early quality assessments. In object-oriented systems, cohesion is an important factor of objectoriented design quality. A few researchers refer cohesion to the degree of the relatedness of the members in a class. In an object-oriented system, classes and components are key early artifacts that l...

متن کامل

Abstract—Prediction of fault-prone modules provides one way to support software quality engineering through improved scheduling

Prediction of fault-prone modules provides one way to support software quality engineering through improved scheduling and project control. There are many metrics and techniques available to investigate the accuracy of fault prone classes which may help software organizations for planning and performing testing activities. Bayes algorithms are being successfully applied for solving both classif...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Journal of Systems and Software

دوره 56  شماره 

صفحات  -

تاریخ انتشار 2001